home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global gDemoStyle, gSection, gPrevMovie
- put gDemoStyle
- put gSection
- put gPrevMovie
- hDumpPrevMovie()
- end
-
- on hWheretoGoNext
- global gDemoStyle
- if gDemoStyle = "full" then
- go(1, "DEMO058")
- else
- if gDemoStyle = "group" then
- go(1, "DEMO058")
- else
- if gDemoStyle = "single" then
- go(1, "000C")
- end if
- end if
- end if
- end
-
- on hGoBackToMEnu
- global gDemoStyle, gSection
- if gDemoStyle = "full" then
- go(1, "000MAIN")
- else
- if gDemoStyle = "group" then
- go(1, "000" & gSection)
- else
- if gDemoStyle = "single" then
- go(1, "000" & gSection)
- end if
- end if
- end if
- end
-
- on hDumpPrevMovie
- global gPrevMovie
- unloadMovie(gPrevMovie)
- set gPrevMovie to the movieName
- end
-